/*
 Dict.cn.Style.m
 iSpeLL
 
 Created by liulei on 5/17/10.
 Copyright 2010 cool8jay@qq.com. All rights reserved.
 */

#import "Dict.cn.Style.h"

@implementation Dict_cn_Style

+ (NSMutableDictionary *) no_Word_Found_Attributes{
	NSMutableDictionary *noWordFoundAttributes=[NSMutableDictionary new];
	NSFont *noWordFoundFont=[NSFont fontWithName:@"Helvetica" size:14.0];
	[noWordFoundAttributes setObject:noWordFoundFont forKey:NSFontAttributeName];
	return noWordFoundAttributes;
}

+ (NSMutableDictionary *) word_Name_Attributes{
	NSMutableDictionary *wordNameAttributes=[NSMutableDictionary new];
	NSFont *wordNameFont=[NSFont fontWithName:@"Helvetica Bold" size:20.0];
	NSColor *wordNameColor=[NSColor colorWithCalibratedRed:0 green:0.6 blue:0.27 alpha:1];
	[wordNameAttributes setObject: wordNameColor forKey:NSForegroundColorAttributeName];
	[wordNameAttributes setObject: wordNameFont forKey:NSFontAttributeName];
	return wordNameAttributes;
}

+ (NSMutableDictionary *) word_Pronunciation_Attributes{
	NSMutableDictionary *wordPronunciationAttributes=[NSMutableDictionary new];
	NSColor *wordPronunciationColor=[NSColor colorWithCalibratedRed:0.6 green:0.4 blue:0.65 alpha:1];	
	NSFont *wordPronunciationFont=[NSFont fontWithName:@"Helvetica Bold" size:16.0];
	[wordPronunciationAttributes setObject: wordPronunciationColor forKey:NSForegroundColorAttributeName];
	[wordPronunciationAttributes setObject: wordPronunciationFont forKey:NSFontAttributeName];
	return wordPronunciationAttributes;
}

+ (NSMutableDictionary *) word_Example_Title_Attributes{
	NSMutableDictionary *wordExampleTitleAttributes=[NSMutableDictionary new];
	NSFont *wordExampleTitleFont=[NSFont fontWithName:@"Helvetica Bold" size:14.0];
	[wordExampleTitleAttributes setObject:wordExampleTitleFont forKey:NSFontAttributeName];
	return wordExampleTitleAttributes;
}

+ (NSMutableDictionary *) word_Example_Content_Attributes{
	NSMutableDictionary *wordExampleContentAttributes=[NSMutableDictionary new];
	NSFont *wordExampleContentFont=[NSFont fontWithName:@"Helvetica" size:12.0];
	[wordExampleContentAttributes setObject:wordExampleContentFont forKey:NSFontAttributeName];
	return wordExampleContentAttributes;
}

@end

